package org.eenie.dagger2.ui.main;

import android.content.Context;
import android.support.annotation.NonNull;

import org.eenie.dagger2.injector.PerActivity;
import org.eenie.dagger2.api.ForumApi;

import javax.inject.Inject;

/**
 * Created by Eenie on 2017/5/4.
 * Email: eeniework@gmail.com
 * Des:
 */

@PerActivity
public class MainPresenter implements MainContract.Presenter {


    private Context mContext;
    private MainContract.View mView;
    private ForumApi mForumApi;

    @Inject
    public MainPresenter(Context context, ForumApi forumApi) {
        mContext = context;
        mForumApi = forumApi;
    }

    @Override
    public void fetchData() {

    }

    @Override
    public void attachView(@NonNull MainContract.View view) {

    }

    @Override
    public void detachView() {

    }
}
